<?php
$sqlmenu 	= mysql_query("SELECT * FROM menu");
?>
<link href="../../css/style.css" rel="stylesheet" type="text/css">

<form action="acao/usuario.php?acao=cadastrar" method="post" enctype="multipart/form-data">
<input type="hidden" name="iduser" value="<?=$row['id']?>" />
<div id="lista">
<h3>Cadastrar usuario</h3>

<span class="textonormal">Nome:</span><br />
<input name="nome" type="text" class="text-input medium-input datepicker" id="nome">
<br>
<br>
<span class="textonormal">E-mail:</span><br />
<input name="email" type="text" class="text-input medium-input datepicker" id="email">
<br>
<br>
<span class="textonormal">Usuario:</span><br />
<input name="usuario" type="text" class="text-input small-input" id="usuario">
<br>
<br />
<fieldset>
<legend class="titulopaginas">&nbsp;&nbsp;Modulos&nbsp;&nbsp;</legend>
<?php while($rowm = mysql_fetch_array($sqlmenu)){
		?>
<div style="float:left; width:200px; margin-bottom:5px"><input type="checkbox" name="menus[]" value="<?=$rowm['id']?>" /><?=$rowm['menu']?></div>
<? } ?>
</fieldset>

<br>

<br>
<br>
<span class="textonormal">Senha</span> <br>
<input name="senha" type="password"  class="text-input small-input" id="senha" value="">
<br />

<br />
Ativo:
<input name="ativo" type="checkbox" id="ativo" value="1" />
<br />

<br>
<input type="submit" class="button" value="Cadastrar dados">
</div>

</form>